package com.wuye.model.repair;

import com.wuye.model.WuyePersistable;

import javax.persistence.Column;
import javax.persistence.Entity;

/*
* 报修分类表
* */
@SuppressWarnings("serial")
@Entity
public class Category extends WuyePersistable<Long>{

    @Column(length = 64, nullable = false)
    String name;

    long parentId;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getParentId() {
        return parentId;
    }

    public void setParentId(long parentId) {
        this.parentId = parentId;
    }
}
